﻿

@using (Html.BeginForm("ChangeAvatar", "Customer", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
    <input type="file" name="file" />
    <input class="btn btn-primary" type="submit" name="save" value="Save" />
}